package com.fitness.front.convertor;

import com.fitness.front.modal.course.dto.CourseRateDto;
import com.fitness.front.modal.course.entity.CourseRate;
import com.fitness.front.modal.course.vo.CourseRateVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface CourseRateConvertor {
    CourseRateVO entity2Vo(CourseRate result);

    CourseRate dto2Entity(CourseRateDto courseRateDto);
}
